package com.iot.service;

import com.iot.pojo.MTdevice;
import com.iot.pojo.MTline_emp_set;
import com.iot.pojo.MTusers;
import com.iot.util.CenterPointAndZoom;

import java.util.List;
import java.util.Map;

public interface Tline_emp_setService  extends BaseService<MTline_emp_set> {
    public List<Map<String,Object>> fetchByPage(Map<String, Object> map);
    public  List<Map<String,Object>> getDeviceByEmpId(Map<String, Object> map);
    public CenterPointAndZoom getCPZ(Map<String, Object> map);
    public  List<Map<String,Object>> getDeviceByEmpSetId(int empId);



    public  Map<String ,Object> initList(int appId);
    Map<String, Object> initEdit(int appId);

    public MTdevice getUserByImei(int empId, String imei);

    public Map<String, Object> getLineSetById(int id);

    List<MTusers> getUserByImei(String imei);

    public  boolean isOpen(int empId, int devId, String type) throws Exception;

    public int saveData(MTline_emp_set mTline_emp_set, int[] ids) throws Exception;

}
